package org.ajida.linux.util.struct;

import java.util.List;

/**
 * 磁盘信息
 * 就是执行df后的信息
 * @author CaiDdongyu
 * @date 2022-3-5
 */
public class HdInfo {
	
	/**
	 * 目录的大小，单位kb
	 */
	private long totalSize;
	
	/**
	 * 目录已使用大小，单位kb
	 */
	private long usedSize;
	
	/**
	 * 目录可用大小，单位kb
	 */
	private long freeSize;

	/**
	 * 目录已用率，10表示10%
	 */
	private int usedRate;
	
	/**
	 * root挂载点的信息
	 */
	private List<HdMountPointInfo> mountPointInfoList;

	public long getTotalSize() {
		return totalSize;
	}

	public void setTotalSize(long totalSize) {
		this.totalSize = totalSize;
	}

	public long getUsedSize() {
		return usedSize;
	}

	public void setUsedSize(long usedSize) {
		this.usedSize = usedSize;
	}

	public long getFreeSize() {
		return freeSize;
	}

	public void setFreeSize(long freeSize) {
		this.freeSize = freeSize;
	}

	public int getUsedRate() {
		return usedRate;
	}

	public void setUsedRate(int usedRate) {
		this.usedRate = usedRate;
	}

	public List<HdMountPointInfo> getMountPointInfoList() {
		return mountPointInfoList;
	}

	public void setMountPointInfoList(List<HdMountPointInfo> mountPointInfoList) {
		this.mountPointInfoList = mountPointInfoList;
	}
	
}
